Move IRC rules to separate file
Add callbacks to the reader state machine