Laws: Restrictions governments put on people. Rights: Restrictions people put on governments.
Where do duties fall into this metaphor? Things people do without restrictions and reservations for each other to maintain a government?
Depends. Is it enforcable by the government, under the threat of violence? Then it's a law, not a duty.