[DROOLS-671] make KnowledgeBaseAdapter in legacy API to implement Externalizable