Legal Rules and Bankruptcy Rates: Historical Evidence from the States