Absolutely minimal version of omniparser, which can parse a ruleset allowing file pattern and regexp matchers.