Social Contract and Rule of Law