The Logic of Majority Rule