I think they recently changed this to 10 yellows = 2 game bans but I could be wrong because I remember gerrard picking up 5 yellows but he still played.
You are right Snakeye, it is 10 yellows gets you a 2 match ban, the 5 yellow card rule has been scraped.