Rights and social contract: from the simple to the complex space