Deleted somerule SQLQuery