A rule-based artificial intelligence generates predetermined results based on a set of rules that humans have developed. These are basic artificial intelligence models that use the if-then coding rule. “A set of rules” and “a set of facts” are the two most important elements in rule-based artificial intelligence models.