public function parse( $rules ) {
		if ( is_array( $rules ) ) {
			return $this->parse_array_rules( $rules );
		}

		return $this->parse_string_rules( $rules );
	}
public function parse( $rules ) {
		if ( is_array( $rules ) ) {
			return $this->parse_array_rules( $rules );
		}

		return $this->parse_string_rules( $rules );
	}
public function parse ( $ rules ) { if ( is_array ( $ rules ) ) { return $ this -> parse_array_rules ( $ rules ) ; } return $ this -> parse_string_rules ( $ rules ) ; }
Parse the rules into an array of rules.

@param  string|array $rules The initial rules set.
@return array
Parse the rules into an array of rules .