Which of the following describes the rule of law?

A. the law allows the government to regulate itself
B. the law favors those in power
C. The law is meant to solely punish those who commit crimes
D. The law applies equally to everyone