test(ruleparser): adding deep check