How Political Parties Can Appeal to Voters