The God of Israel spoke, the Rock of Israel ... me
David compares God to a rock to emphasize his power to protect his people.
The one who rules righteously over men, who rules in the fear of God
These two sentences both say that the king will respect God and do what God wants him to do.