Auditing

Added XML auditing implementation to record export, import and rule failure events.