Majority Rule and Legitimacy