Allow parser rules to be configured in initializer.

Suggested in #27