Most laws back then had prevented women from voting like the men did, or even getting a stable job with the same pay as men.
They are similar because a pharaoh is a top boss, he has control over everything, he ha lower people under him that do his handy work and enforces his laws. In the government its basically the same, you have the top boss and lower government branches that keeps the laws going.