original_string: public function removeRules($keys, $ruleset = null)
      {
          $keys = is_array($keys) ? $keys : func_get_args();
          $rules = $ruleset ? $this->getRuleset($ruleset) : $this->getRules();
          array_forget($rules, $keys);
          if ($ruleset) {
              $this->setRuleset($rules, $ruleset);
          } else {
              $this->setRules($rules);
          }
      }
code: public function removeRules($keys, $ruleset = null)
      {
          $keys = is_array($keys) ? $keys : func_get_args();
          $rules = $ruleset ? $this->getRuleset($ruleset) : $this->getRules();
          array_forget($rules, $keys);
          if ($ruleset) {
              $this->setRuleset($rules, $ruleset);
          } else {
              $this->setRules($rules);
          }
      }
code_tokens: public function removeRules ( $ keys , $ ruleset = null ) { $ keys = is_array ( $ keys ) ? $ keys : func_get_args ( ) ; $ rules = $ ruleset ? $ this -> getRuleset ( $ ruleset ) : $ this -> getRules ( ) ; array_forget ( $ rules , $ keys ) ; if ( $ ruleset ) { $ this -> setRuleset ( $ rules , $ ruleset ) ; } else { $ this -> setRules ( $ rules ) ; } }
docstring: Remove rules from the existing rules or ruleset.
  
  @deprecated watson/validating@0.10.9
  
  @param mixed  $keys
  @param string $ruleset
docstring_tokens: Remove rules from the existing rules or ruleset .