Hi
The Rule of five does not exist. It is either an expression for playing 5 companions, as Elessar's Socks mentioned above, or you are asking about:
The rule of 4. You may not draw or take into hand more than 4 cards during the fellowship phase.
The rule of 9. You may not have more than 9 companions in play and the dead pile.