We argue that during the crystallization of common and civil law in the 19th century, the degree of discretion in judicial rulemaking, albeit influenced by the comparative advantages of both legislative and judicial rulemaking, was mainly determined by the anti-market biases of the judiciary. The different degrees of judicial discretion in both legal traditions were thus adapted to different circumstances, mainly the unique, market-friendly, evolutionary transition enjoyed by English common law as opposed to the revolutionary environment of the civil law. On the Continent, constraining judicial discretion was essential for enforcing freedom of contract and establishing a market economy. The long-term confluence of both branches of the Western legal system towards lesser freedom of contract is explained as a consequence of increased perceptions of exogenous risks and changes in the political system. These favored the adoption of sharing solutions that interfered with market-supporting institutions and removed the cognitive advantage of parliaments and political leaders.