Cory

added rules && fixed migrations