Fix ACTIVE mode checking

Moves the check of the mode from the rule processor to the actions
lookup table. Only prevents running an action when in DEBUG mode
when the action is ACCEPT or DENY.

Fixes issue #2