What is the purpose of all constitutions?

A. to list the rights of citizens
B. to create a system of checks and balances
C. to establish federal authority over state governments
D. to establish rules that a government must follow