File RegEx rule

This rule template can be used to create rules which will be triggered when a file matches a given regular expression. Additional a Ant-style matching pattern for the path can be defined.

Also a solution for #179.