To explain this, you need to understand a bit about how primogeniture works. The line of succession travels through the heir to the throne, so assuming that all of Aerys' children who were alive at the time of Robert's Rebellion had lived, the sons of Rhaegar would have held precedence over Viserys in the line of…