Make some {Matcher} methods protected
Fix getRule bug