I know how to create DRL files inside KIE workbench by using all the methods. But what my problem is without using the KIE workbench, can we create the .drl fil
Another option is to use the "descr" APIs, starting from the factory:
org.drools.compiler.lang.api.DescrFactory
These APIs build the Drools AST, which can be passed directly to the compiler,
bypassing the parser. The AST can also be used to recreate DRL, using the
helper class org.drools.compiler.lang.DrlDumper