Individual rights and collective responsibility: the rights–egalitarian solution