rule_logger: Remove logging phase when only audit is enabled.