fix new corelibs lib rule