New version. Classifying using rule set