[DROOLS-107] fix NPE when inserting through rule an object already present as derived class