Who chooses the ruler in constitutional monarchy?

God. In a constitutional monarchy it is normal for the crown to be inherited.