removeRule( rules[i] );
}
this.packageClassLoader.removeClassLoader( pkg.getPackageCompilationData().getClassLoader() );
pkg.clear();
// getting the list of referenced globals
final Set referencedGlobals = new HashSet();
for ( final Iterator it = this.pkgs.values().iterator(); it.hasNext(); ) {
final org.drools.rule.Package pkgref = (org.drools.rule.Package) it.next();