original_string: public function get_rule( array $rules ) {
  		$logical = static::LOGICAL_AND;
  
  		if ( static::is_group_rules( $rules ) ) {
  			list( $logical, $rules ) = $this->parse_group_logical( $rules );
  		}
  
  		return $this->create_rule( $rules, $logical );
  	}
code: public function get_rule( array $rules ) {
  		$logical = static::LOGICAL_AND;
  
  		if ( static::is_group_rules( $rules ) ) {
  			list( $logical, $rules ) = $this->parse_group_logical( $rules );
  		}
  
  		return $this->create_rule( $rules, $logical );
  	}
code_tokens: public function get_rule ( array $ rules ) { $ logical = static :: LOGICAL_AND ; if ( static :: is_group_rules ( $ rules ) ) { list ( $ logical , $ rules ) = $ this -> parse_group_logical ( $ rules ) ; } return $ this -> create_rule ( $ rules , $ logical ) ; }
docstring: Gets the rule.
  
  @param  array $rules
  @return \WPLibs\Rules\Rule|null
docstring_tokens: Gets the rule .