Move rulebook definition into RulebookEnv.

Rulebooks are now defined using:

    Rulebook { name='foo', ... }