Classification system (XCS)as one of the most successful Learning Agents for solving known issues. Rules based on its accuracy in predicting the reward received from the environment, and evaluate the use of Genetic Algorithms is updated. . This paper uses data and proposed method to learn system and Using test data to evaluate performance of system. The effectiveness of the method by comparing the results with the results of other papers will be evaluated.