Improve processor API.

Processor no longer uses the inelegant `instance_eval` to set the rules, they
are set before the `process` method is called, making easier to define a dsl
and to load individual rules as dsl files.