Classification based on rules and thyroids dysfunctions