We need to reset the condition flag for each rule, otherwise we may end up deleting everything Change-Id: Ic7f827149d18cce9e7b5d8ae5f0145bd52bee12d