public function rule_eq($a) { $target = $this->pullRule(); if ($a !== $target) { return $this->fail('must be exactly {{arg1}}', $target); } return $a; }