Sharing rule identification for general collective consumption