original_string: public function addRule( $rule )
      {
          if ( ! ( $rule instanceof RuleStructure ) )
          {
              $rule = new RuleStructure( $rule );
          }
  
          $this->rules[] = $rule;
          return $this;
      }
code: public function addRule( $rule )
      {
          if ( ! ( $rule instanceof RuleStructure ) )
          {
              $rule = new RuleStructure( $rule );
          }
  
          $this->rules[] = $rule;
          return $this;
      }
code_tokens: public function addRule ( $ rule ) { if ( ! ( $ rule instanceof RuleStructure ) ) { $ rule = new RuleStructure ( $ rule ) ; } $ this -> rules [ ] = $ rule ; return $ this ; }
docstring: Add a rule
  
  @param array|\Customize\Model\Rule\Structure $rule
  @return \Customize\Model\Sheet\Structure
docstring_tokens: Add a rule