Rule-based approaches are intuitive and easy to implement.
the results show that the two methods we propose both outperform the original queries significantly with less than two alterations per query on average.