debugging
now it can scan the rules although can"t parse them yet