[DROOLS-641] make named consequences to work in stream mode

(cherry picked from commit 8bc35f571bcaaaac7c9016108a7df11291f406be)