Title: A General Explanation-based Learning Mechanism and Its Application (Research Notes in Artificial Intelligence)