renaming packagnames in control and rules