code: protected function purgeNonRemoteRules($rules, $validator)
      {
          $protectedValidator = $this->createProtectedCaller($validator);
  
          foreach ($rules as $i => $rule) {
              $parsedRule = ValidationRuleParser::parse([$rule]);
              if (! $this->isRemoteRule($parsedRule[0])) {
                  unset($rules[$i]);
              }
          }
  
          return $rules;
      }
docs: Remove rules that should not be validated remotely.
  
  @param $rules
  @param BaseValidator $validator
  @return mixed