[DROOLS-19] update the role of a type when it is redeclared