Ignore case on match rules, include unit test