code: function (ruleString) {
      var rule = {},
        ruleArray;
  
      rule.name = ruleString;
  
      if (ruleString.indexOf(':') >= 0) {
        ruleArray = ruleString.split(':');
        rule.name = ruleArray[0];
        rule.value = ruleArray.slice(1).join(":");
      }
  
      return rule;
    }
docs: Extract a rule and a value from a ruleString (i.e. min:3), rule = min, value = 3
  
  @param  {string} ruleString min:3
  @return {object} object containing the name of the rule and value