Question: what is the main difference between an expert system and any other type of computer software?
Answer: The main difference is that expert systems are rule based systems while modern machine learning (ML) are based on statistical modeling of data. That is, an expert system uses if-then statements when doing inference while an ML system projects the input into some model space.