original_string: public function rewrite_rules_array( array $rules ){
          if( !empty($this->rewrites) ){
              $rules = array_merge($this->rewrites, $rules);
          }
          return $rules;
      }
code: public function rewrite_rules_array( array $rules ){
          if( !empty($this->rewrites) ){
              $rules = array_merge($this->rewrites, $rules);
          }
          return $rules;
      }
code_tokens: public function rewrite_rules_array ( array $ rules ) { if ( ! empty ( $ this -> rewrites ) ) { $ rules = array_merge ( $ this -> rewrites , $ rules ) ; } return $ rules ; }
docstring: Register rewrite rules
  
  @param array $rules
  @return array
docstring_tokens: Register rewrite rules