Added diagnostic capability to the IReport ARF-wrapper, and added support for complex checks to rule_diagnostics schema.