Algorithmic regulation and the rule of law