title: rule engine with database support and rule modification API
body: <p>I am trying for opensource rule engine where I can store the rules in data bases (mongodb or sql) also few APIs where I can modify the HA. </p>
  
  <p>I came across these <a href="https://java-source.net/open-source/rule-engines" rel="nofollow noreferrer">rules opensources</a> but rule engine like drool can be stored in drl file or csv , so I need to store the entire drl file or csv files in db and if I have to modify then needs to fetch entire db and store it back again, </p>
  
  <p>so is there a better way to handle rules in DB and modify the rules whenever required with rest API..?</p>