Updating DummyRule SQLQuery