renaming default css file
refactoring Rules file. Closes #339