Checks if this rule is equal to another one
Ignores whether either of the rules is disabled.
Rule $rule The rule to check against:
bool Whether the rules are equal
Overrides Rule::equals
public function equals(Rule $rule) : bool { return $this->literals === $rule->getLiterals(); }