deal with options of ignoreRules