ELI5: Explain Like I'm 5

Rule-based programming

Rule-Based Programming is a way of writing computer programs that tells the computer what to do in certain situations. It is like having a list of instructions that tells the computer what to do if it encounters certain conditions. The instructions (or rules) are written in an easy-to-understand language that the computer can understand. This makes it easier for a programmer to write and maintain the program. For example, a rule-based program might tell the computer that if an input is a number, then add it to the total; or if the input is a word, then print it out.