public function rule_lte($a) { $target = $this->pullRule(true); if ($a > $target) { return $this->fail('must be not greater than {{arg1}}', $target); } return $a; }