F. David Peat said this quote

But if the individual is to sacrifice a measure of personal liberty within the social contract, then individual rights must be guaranteed by law. Thus, it has been said that, in law, rights are the fence an individual erects around himself for protection against his neighbors.How absurd such a posture must seem from a worldview in which the individual emerges out of the society, rather than the other way around.