I think the 'rule of two' is more of a sociological observation than an actual rule. If there's more than two, they'll end up ganging up on one of them, which is exactly what happens in ESB and ROTJ. The Emperor wants to replace Vader with Luke, and Vader wants to overthrow the Emperor with Luke at his side.