Scenario- 1. End user should be able to create rules from a front end. The rule would have conditions (I could not figure out a way in Drools to dynamically modify the .drl file on the basis of rules created by users)
Rules should be able to be defined in a hierarchy and the same rule can belong to multiple hierarchies
The end user should be able to trigger the execution of the rules. The caveat here is that the facts might not be available in the KnowledgeSession, the rules get converted to relevant queries as per the underlying database and then they get triggered on the underlying DB.
So the idea is Rules get created with limited knowledge of the entities -> When rule is triggered it works with the underlying db to create queries relevant to the entities present in the underlying db
Would I be able to do something with Drools, another rules engine instead of building a custom implementation?