[DROOLS-327] Cleanup trait test
(cherry picked from commit 6ec91501d7cb9d3657b82309e24d0290b6d506f5)
[DROOLS-321] Unnecessary update using the TMS in EQUALITY mode
(cherry picked from commit 11dd4bac0a37bf1e070f51e9e0972f135b12e2b0)
[DROOLS-328] Readding rules to a KB corrupts the internal memories
(cherry picked from commit ad5abdd82c53a27ffcfa9847d4101e699199f3e3)