test(rewrite_cond): 99 percent coverage and raise error when rules are not processable