Integrated test.rules into install.sh