first version of rule installation and test