updated core and rules to support classloading