Title: Logic of Party Democracy