TDQ-9746 when match analysis have two rule tabs, "chart" result and
"run" analysis result are different
--> fixed by go through all rules to find all match keys when switch the
attributes from all to only defined as match keys.