Establishing the Rules of the Game: Election Laws in Democracies