code: function(rules, tmp) {
          var _r = null;
          for (var r in rules) {
  
              if ( typeof(rules[r]) == 'object' && typeof(instance.rules[tmp + r]) == 'undefined' ) {
  
                  _r = r;
                  if (/\[|\]/.test(r) ) { // must be a real path
                      _r = r.replace(/\[/g, '.').replace(/\]/g, '');
                  }
  
                  instance.rules[tmp + _r] = rules[r];
                  //delete instance.rules[r];
                  parseRules(rules[r], tmp + _r +'.');
              }
          }
      }
docs: parseRules - Preparing rules paths
  
  @param {object} rules
  @param {string} tmp - path