of doing whatsoever he thought for the preservation of himself, and the rest of mankind, he gives up to be regulated by laws made by the society, so far forth as the preservation of himself, and the rest of that society shall require;