lib/verifier.js
function (ruleStr) {
		var name;
		var params = '';

		ruleStr.replace(this._RULE_STRING_FORMAT, function ($0, _name, _params) {
			name = _name;
			params = _params.trim();
		});

		params = params.length ? this._parseParamsString(params) : null;

		return Rule.create(name, params);
	}
function (ruleStr) {
		var name;
		var params = '';

		ruleStr.replace(this._RULE_STRING_FORMAT, function ($0, _name, _params) {
			name = _name;
			params = _params.trim();
		});

		params = params.length ? this._parseParamsString(params) : null;

		return Rule.create(name, params);
	}
function ( ruleStr ) { var name ; var params = '' ; ruleStr . replace ( this . _RULE_STRING_FORMAT , function ( $0 , _name , _params ) { name = _name ; params = _params . trim ( ) ; } ) ; params = params . length ? this . _parseParamsString ( params ) : null ; return Rule . create ( name , params ) ; }
convert string to Rule object

@private
@method
@param {String} ruleStr - string for parsing
@returns {Rule}
convert string to Rule object