This is a very simple example of using Drools with Java as  maven project.