Law and Equity Markets: A Simple Model