original_string: public function getPasswordRules(array $codes)
      {
          // Process the codes array to a format better used for filtering
          $codes = array_change_key_case(array_flip(array_filter($codes)));
          // \MUtil_Echo::track($codes);
  
          $rules = array();
          if ($this->offsetExists('passwords') && is_array($this->passwords)) {
              $this->_getPasswordRules($this->passwords, $codes, $rules);
          }
  
          return $rules;
      }
code: public function getPasswordRules(array $codes)
      {
          // Process the codes array to a format better used for filtering
          $codes = array_change_key_case(array_flip(array_filter($codes)));
          // \MUtil_Echo::track($codes);
  
          $rules = array();
          if ($this->offsetExists('passwords') && is_array($this->passwords)) {
              $this->_getPasswordRules($this->passwords, $codes, $rules);
          }
  
          return $rules;
      }
code_tokens: public function getPasswordRules ( array $ codes ) { // Process the codes array to a format better used for filtering
   $ codes = array_change_key_case ( array_flip ( array_filter ( $ codes ) ) ) ; // \MUtil_Echo::track($codes);
   $ rules = array ( ) ; if ( $ this -> offsetExists ( 'passwords' ) && is_array ( $ this -> passwords ) ) { $ this -> _getPasswordRules ( $ this -> passwords , $ codes , $ rules ) ; } return $ rules ; }
docstring: Get the rules active for this specific set of codes.
  
  @param array $codes An array of code names that identify rules that should be used only for those codes.
  @return array
docstring_tokens: Get the rules active for this specific set of codes .