An egalitarian theory of the rule of law