Rigidities, Institutions And The Macroeconomy