Macroeconomic Effects of Regulation and Deregulation in Goods and Labor Markets