Following the Rules of a Republic and of a Presidential Primary