In computer science, a rule-based system is a set of &quot;if-then&quot; statements that uses a set of assertions, to which rules on how to act upon those assertions are created. 