Boss
Take a Memo:
That doesn't hold. If we held the protection of rights as the basis for law, rather than enforcing morality, we'd still have most of the laws we have now.
The fact is there are plenty of actions that people consider immoral that don't violate other people's rights (and shouldn't be illegal) eg - cheating on your girlfriend. And there are plenty of things one might do that would violate the rights of others, but might not be considered immoral (but should still be against the law) - tax evasion.
Sorry but even the concept of our inalienable natural rights is based and rooted in a morality viewpoint. You can't really escape it. At the foundation, ALL laws are rooted in morality judgement.