Before the monarchy, the early rulers of Sumerian city-states were