updates rules for gitignore