docs: function(config){
        this.ruleRet_ = [];
        this.templates_ = [];
        this.rule = config.rule;
  
        var events = config.events;
        if (events && events.length)
        {
          this.ruleEvents = {};
          for (var i = 0, eventName; eventName = events[i]; i++)
            this.ruleEvents[eventName] = true;
        }
  
        cleaner.add(this);
      }