logging for rule-engine