prettied up the code, removed an unused rule