improve sqlwall rule