Creating DummyRule SQLQuery