Rhaegar was the first born son of the Mad King Aerys Targaryen, and therefore heir to the Iron Throne. Perpetuating the family line is always of the utmost importance in Westeros, and while typically Targaryens married within the family, there were no Targaryens of age for Rhaegar to marry.