Is an example of runing DRL rules using plain java. This is an example rule for approving and declining the loan application. Please notice, the rule is only example that do not cover all cases from the banking domain.
Simply run the main class org.kie.kogito.rules.embedded.RulesEmbeddedModeExample
either from the IDE or your command line.