fixed taxrule relations + added more tests