Error handling

Added a new ruleset for handling errors.

Added rules for handling autoraise on subscription.