[DROOLS-64] Fix serialization