test
Add addIgnoreRules and clearIgnoreRules.