Various template classes and unit tests

RegexMatchingRuleTemplate, ListingMatcherTemplate,
ListingMatchersBuilder
Unit test for multiple secondary templates