This turned out to be a bug in drools, and will be addressed in version 10.2.0. https://kie.zulipchat.com/#narrow/channel/232677-drools/topic/Strange.20behaviour.20with.20traditional.20syntax.20in.20RuleUnit/with/558621566