This document discusses using rules engines for business logic and provides examples of real-world use cases. It begins with an overview of what rules engines are and how they work, explaining concepts like facts, conditions, actions, and rules. It then discusses different types of rules engines and rule processing algorithms like the basic and Rete algorithms. The document provides code snippets and XML examples from real client-side rules engines developed for applications in domains like forms building, order management, and government benefits applications. It demonstrates how rules engines can externalize and manage complex business rules and workflows.