Added class file rule to .gitignore