code: public function expectsInput(
          IInputRule $rule,
          IInputRule $rule2 = null,
          IInputRule $rule3 = null,
          IInputRule $rule4 = null,
          IInputRule $rule5 = null,
          IInputRule $rule6 = null,
          IInputRule $rule7 = null,
          IInputRule $rule8 = null,
          IInputRule $rule9 = null,
          IInputRule $rule10 = null
      )
      {
          foreach (func_get_args() as $arg) {
              if ($arg instanceof IInputRule) {
                  $this->inputRules[] = $arg;
              }
          }
  
          return $this;
      }
docs: @param IInputRule $rule
  @param IInputRule $rule2
  @param IInputRule $rule3
  @param IInputRule $rule4
  @param IInputRule $rule5
  @param IInputRule $rule6
  @param IInputRule $rule7
  @param IInputRule $rule8
  @param IInputRule $rule9
  @param IInputRule $rule10
  
  @return $this