jeffjiang: split query rule informations from SchemaInfo into QueryRuleInfo structure