[DROOLS-254] rules using Exists OR are compiled inconsistently
(cherry picked from commit 66dabe8b10297d2ae646d3677c8f973c72d92b54)