How did Egypt's rulers govern their empire?