okay now loading in the rules through load_rules; also test now does both unit test and server test