selectstatmentByRuleDone