DROOLS-201 Improve Rule Removal
[DROOLS-336] avoid to share a LeftInputAdapterNode if it has 2 sinks with different property reactive masks
(cherry picked from commit fd86b5d80c25c8a6e4ac6d2aa7c7db0c758c2cef)
[DROOLS-64] Trait Performance and fixes
(cherry picked from commit 2ac171e59e16b2648b9205a0418f3b8576a21246)
[DROOLS-64] Trait Performance and fixes
(cherry picked from commit 665a2e4bff45115e00d84316fcce785014a83b8f)
[DROOLS-64] Fix trait hierarchy serialization, lazy registry generation
(cherry picked from commit 828e7791841f1d80be945f3f7d5a0977d3db6804)
[DROOLS-64] Fix serialization
(cherry picked from commit b928b209524472ee31172c17808be91903ba2754)
[DROOLS-334] avoid dequeueing left tuple from the wrong queue when using dynamic salience
(cherry picked from commit 50737ce81da9b5d7341ee01dbd653737cea478f1)
[DROOLS-173] add test case demonstrating that collect and accumulate works fine together
(cherry picked from commit ef4732c0261a4cc7ecfb77ab1a9fe4184e2d08c5)
[DROOLS-296] rewrite or constraints when necessary
(cherry picked from commit ba2fbd53b0fa7e944a76a6f08dd7baaf5f4726fc)
[DROOLS-338] fix MatchCancelledEvent propagation
(cherry picked from commit 0f13e87a4643baa2fddfd73e098c551e14b7a321)
[DROOLS-339] avoid to create a SegmentMemory in a subnetwork when using Segment prototypes
(cherry picked from commit 5156993b9e7bcfe60afff6337e9d254939e336e0)
fix compilation problem
(cherry picked from commit 6dbdbabe0b718df0770a9049a6bb1a100a29c74f)