Remove old QueryRule