social contract

noun | so·cial contract
  1. : an actual or hypothetical agreement among individuals forming an organized society or between the community and the ruler that defines and limits the rights and duties of each