code: function Predicate(name, parameter1, parameter2) {
                this.name = name;
                this.meta = RuleTemplates[name];
                if (!this.meta) {
                  this.meta = RuleTemplates["DEFAULT"];
                }
                //if (this.meta.nrParameters > 0) {
                  this.parameter1 = parameter1;
                //}
                //if (this.meta.nrParameters > 1) {
                  this.parameter2 = parameter2;
                //}
                //logger.debug('Predicate\n' + JSON.toString(this.meta, null, 2));
              }
docs: var log4js = require('log4js'); var logger = log4js.getLogger(); logger.setLevel('INFO'); logger.debug(predicates);