Loading RuleApps in the memory persistence implicitly
When no ruleset in the memory persistence matches the ruleset path that the XU tries to execute, a heuristic, which is composed of several default strategies, is triggered and tries to load a corresponding RuleApp from the application classloader.

First strategy
The first strategy looks up a RuleApp archive that is packaged as a resource in your Java™ SE application.

- No such RuleApp is found in the classloader.
- The RuleApp is loaded, but no ruleset is found that matches the execution ruleset path in the memory persistence.
Second strategy
The second strategy looks up a RuleApp as a resource in your Java SE application. Instead of looking for a RuleApp archive (.jar) as a resource, it looks up the first available RuleApp in a decompressed folder structure.
This strategy can be used in the following two use cases:
[Case 1] The RuleApp archive is not packaged as a resource, but it is available in the runtime class path of your application.
<!-- DIRECT DEPENDENCY TO DECISION SERVICE (RULEAPP ARCHIVE) -->
<dependencies>
...
<dependency>
<groupId>my.org.group.id</groupId>
<artifactId>myRuleApp</artifactId>
<version>1.0</version>
</dependency>
</dependencies>In
Eclipse, it corresponds to the following application class path: 
[Case 2] The RuleApp is packaged as a resource in your application, but as a decompressed folder.

- No such RuleApp is found.
- The RuleApp is loaded, but no ruleset is found that matches the execution ruleset path in the memory persistence.
Third strategy
In the third strategy, RuleApps are also available in the runtime class path of your application. Like the second strategy, it looks up a RuleApp in a decompressed folder structure.
While the second strategy checks only the first RuleApp it finds in the resources of your application, this strategy can check multiple RuleApps.

- No such RuleApp is found.
- The RuleApp is loaded, but no ruleset is found that matches the execution ruleset path in the memory persistence.
Fourth strategy
The fourth strategy tries to load the application class path runtime JAR entries as a RuleApp archive. Each class path JAR entry is tried only once.

- connector-api-1.5-IBM.jar
- junit-412-sources.jar
- harmcrest-core-1.3-sources.jar
- jrules-res-9.6.0-execution.jar
- jrules-engine-9.6.0.jar
- myXom-10.jar
- myRuleApp-10.jar
- No such RuleApp is found as a class path JAR entry.
- The application class path JAR entry is loaded, but no ruleset is found that matches the execution ruleset path in the memory persistence.