I haven't met this expression. Perhaps it's associated with the idea of leprechauns (Rainbow - Wikipedia, the free encyclopedia) hiding their pot of gold at the end of a rainbow. I can imagine someone trying to outdo such a claim by adding the rainbow along with the pot of gold.
'Making a mint' is a common expression (in Br Eng) for earning a lot.
- For Teachers