NumberOfRulesExtractor, learning results in one single file
major recoding of learning part