Human actions and changing weather patterns are contributing to the growing demand for groundwater resources. Nevertheless, evaluating the quality of groundwater is crucial. Nitrate is a significant water contaminant that can lead to blue-baby syndrome or methemoglobinemia. Therefore, it is necessary to assess the level of nitrate in groundwater. Current methods involve evaluating the quality of groundwater and integrating it into the models. The inappropriate datasets, lack of performance, and other constraints are limitations of current methods. Ground water dataset is used and pre-processed the data’s. Selected data’s are feature extracted and associated with the rule ranking. In the suggested model, the use of associative rule mining technique has been implemented to address these challenges and assess nitrate levels in groundwater. The method of rule ranking is carried out using association rule mining technique to divide the datasets. The split gini indexing algorithm is introduced in the proposed model for data classification. The Split Gini Indexing algorithm is a decision tree induction algorithm that is used to build decision trees for classification tasks. It is based on the Gini impurity measure, which measures the heterogeneity of a dataset. The quality of groundwater has been classified using Naïve Bayes, SVM, and KNN algorithms. The proposed approach's efficiency is evaluated by calculating performance metrics such as precision, accuracy, F1-score, and recall values. The suggested method in the current research attains an improved accuracy of 0.99, demonstrating enhanced performance.