The best inference about Ghana's rulers from the passage is:
a. They were smart businessmen who took advantage of opportunities.
The passage indicates that they looked for ways to make money from the traders passing through their lands, suggesting they were strategic in leveraging trade for financial gain.