I am working on a web application which is using JBPM 5.4 for workflow. The rules for workflow are stored in .drl files. There is a requirement where admin can add new rules to the workflow, this has to be done from UI of our web application only. The modified rules and the new rules have to be updated in the drl file.
How could i update, modify the rules in .drl files using java??