The key differences between rule-based AI and machine learning