Before going further, if you have git installed on your machine, you can checkout the code by cloning the repository :
git clone git://machine_ip:9418/nautic
In my example, I use a docker container that is in a virtualBox Machine at ip 192.168.99.100 and at port 19418.
Create functions
We will need some java functions to help us writing rules Go to new Items/DRL FIle and create a rule called "function" and put in the rule content the following code :