To a limit. Rule of law is a principle. Rule by majority with no protection for minority rights is not rule of law, it's rule of the mob.