Removed unused sources from the Java library and fixed an issue with malformed rules in the CPU engine.