class InterpretedRuleOutput extends RuleOutput {

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof InterpretedRuleOutput)) return false;
        InterpretedRuleOutput that = (InterpretedRuleOutput) o;
        return matched == that.matched &&
                Objects.equals(result, that.result);
    }

    public  InterpretedRuleOutput(boolean matched, Object result);

}