Fixed an infinite loop in parse_rule() when a filter rule is too