rights and obligations definition