Replacing the law of the jungle with the rule of law