Fire off an event to allow plugins to register their own rules

Closes #53