Optimal Decision Rules for the Discursive Dilemma