The Logic of Collective Rating