I think the matchcase / case sensitive switch is exactly opposite to what is expected. If the option "case matters" is OFF, the rule contains "matchcase". If it is on, the rule is "match".
The naming of the flags matches the standard C library convention. Yes, it appears odd. The GUI options do exactly as they should nevertheless.