this.listener.debug( "KnowledgeAgent removing Rule=" + rule
+ " from package=" + rule.getPackageName() );
this.kbase.removeRule( rule.getPackageName(),
rule.getName() );
} else if ( kd instanceof Process ) {
Process process = (Process) kd;
this.listener.debug( "KnowledgeAgent removing Process=" + process );
this.kbase.removeProcess( process.getId() );
} else if ( kd instanceof TypeDeclaration ) {
// @TODO Handle Type Declarations... is there a way to remove this?
} else if ( kd instanceof Function ) {
Function function = (Function) kd;
this.kbase.removeFunction( function.getNamespace(),