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

Comment on issue #48