fix a generated rules of the package name