Competition rules and the cooperative firm