Extract PatternMatcher from OpeningBook.