The All Affected Principle, and the weighting of votes