Drools is an open source rules engine that allows you to externalize the business rules.
This tutorial assumes that you have gone through “Setting up Java, Maven, and Eclipse.” Once you have gone through the following steps, you should have a project structure as shown below.
Step 1: Create a new Maven project