PatternMatcherFactory creation method