Added rule to remove invalid products