Updated the install and uninstall rules