Formats a rule as a string of the format (Literal1|Literal2|...)
Overrides Rule::__toString
public function __toString() : string { $result = $this->isDisabled() ? 'disabled(' : '('; foreach ($this->literals as $i => $literal) { if ($i !== 0) { $result .= '|'; } $result .= $literal; } $result .= ')'; return $result; }