The Corticon High Performance Batch Processing (HPBP) was previously provided as a sample but has now been updated and is provided as a product feature. The HPBP is for efficient batch rule processing on large sets of records in a database. It will retrieve and commit records in large chunks so as to efficiently access the data to be processed by rules.
The sample and its documentation README.txt are located in a Server installation at [CORTICON_HOME]/addons/hpbp. You can modify the source files to suit your needs, but must not modify any referenced JAR files.