add install and uninstall rules