Flexible Majority Rules