original_string: private function addRule($append = true)
      {
          if (empty($this->current_word)) {
              return;
          }
          foreach ($this->current_UserAgent as $ua) {
              if ($append === true) {
                  $this->rules[$ua][$this->current_directive][] = $this->current_word;
                  continue;
              }
              $this->rules[$ua][$this->current_directive] = $this->current_word;
          }
      }
code: private function addRule($append = true)
      {
          if (empty($this->current_word)) {
              return;
          }
          foreach ($this->current_UserAgent as $ua) {
              if ($append === true) {
                  $this->rules[$ua][$this->current_directive][] = $this->current_word;
                  continue;
              }
              $this->rules[$ua][$this->current_directive] = $this->current_word;
          }
      }
code_tokens: private function addRule ( $ append = true ) { if ( empty ( $ this -> current_word ) ) { return ; } foreach ( $ this -> current_UserAgent as $ ua ) { if ( $ append === true ) { $ this -> rules [ $ ua ] [ $ this -> current_directive ] [ ] = $ this -> current_word ; continue ; } $ this -> rules [ $ ua ] [ $ this -> current_directive ] = $ this -> current_word ; } }
docstring: Add group-member rule
  
  @param  bool $append
  @return void
docstring_tokens: Add group - member rule