Ignore case on match rules, include unit test, closes #48