See JBRULES-3220.
I have now fixed this in master. However I noticed the previous incorrect fix was not cherry-picked to 5.2.x either. The commits are listed in jira, under source commits. As this is now late stage and you need control over git, I'll leave you to cherry pick these. Even though the original commit is wrong, you'll have to cherry-pick that first to get the correct diff ordering. My later commit fixes https://issues.jboss.org/browse/JBRULES-3220
Btw I consider this a critical fix, and it must go into BRMS.
We believe this is fixed.