[DROOLS-516] Flushing the stream event queue when a rule is unlinked