/** * Parse the $rules * @param string $bnfRules */ public function parseRules($bnfRules) { $this->rules = bnfParser::parseRules($this->id, $bnfRules); }