[DROOLS-64] Traits do not comply with type inheritance on "modify"
(cherry picked from commit a8727241f1c03fb594b1c7ebe39292cfd448fa00)
[DROOLS-64] Traits do not comply with type inheritance on modify