add a list of Select SQL operation as the rules, add 4 tables as the table rule, and changed code to handle embeded sql statement, which is used in some of the Select statements