When we want to select a class attribute among several choices, we suggest to using a method that is based on the overall correctness of a generating rule set as well as the number of different values in the candidate class attributes to avoid key-like property to be selected. The underlying theoretical background for this decision is rough set theory. By scoring the factors among possible candidate class attributes, we may get a better rule set of precision.