code: function endRule(event) {
  
              var prop, i, len, total;
  
              // check which properties this rule has
              for (prop in mapping) {
                  if (mapping.hasOwnProperty(prop)) {
                      total=0;
  
                      for (i=0, len=mapping[prop].length; i < len; i++) {
                          total += properties[mapping[prop][i]] ? 1 : 0;
                      }
  
                      if (total === mapping[prop].length) {
                      	var d = mapping[prop].join(", ");
                          reporter.report("The properties " + d + " can be replaced by " + prop + ".",
                              event.line, event.col, rule, {0: d, 1: prop}); //ORION NLS message
                      }
                  }
              }
          }
docs: event handler for end of rules