type; } /** * @param string $type */ public function setType(string $type) { $this->type = $type; } /** * @return string */ public function getRule(): string { return $this->rule; } /** * @param string $rule */ public function setRule(string $rule) { $this->rule = $rule; } /** * @return int */ public function getLevel(): int { return $this->level; } /** * @param int $level */ public function setLevel(int $level) { $this->level = $level; } }