The study proposes a novel associative classification technique called bee-rm, employing honeybee colony optimization and particle swarm optimization to predict student performance in educational data mining. The method achieves high accuracy and interpretability in predicting final student grades by generating association rules based on extensive training data from a Moodle platform. Experimental results indicate that bee-rm outperforms several established classification techniques, demonstrating its effectiveness in enhancing educational outcomes.