Updated rules and gitignore