renamed QC rule to query rule, preparing for extension