Refactoring matchrule plugins more. Moved config_name to the class itself, instead of being an instance variable. For example, FileExtensionIs should always be called file-extension-is, even if there are different checks using the same rule.

This also makes it easier to keep a dictionary of rules by config_name, which will be useful when parsing the rule file.