public function __call($name, $arguments) { // Create and then add the new rule to the last added field $rule = $this->createRuleInstance($name, $arguments); $this->addRule($this->lastAddedField, $rule); return $this; }