public function buildRules(RulesChecker $rules) { $rules->add([$this, 'ruleRoleChange']); $rules->addUpdate([$this, 'ruleMatchingModified']); $rules->addDelete([$this, 'ruleNoCharacters']); return $rules; }