[DROOLS-393] Trait Hierarchy is not rebuilt correctly when merging packages