Updated rule, added gitignore