Move rule into top-level .gitignore