Removing obsolete match definitions