I give you a quick sample code here how you can read an AVRO file using Java and then process the data with the ruleengine.
You will need the Jare Ruleengine library jare0.8.2.jar which you can get at: https://github.com/uwegeercken/jare and the Avro Java libraries avro-1.8.2.jar and avro-tools-1.8.2.jar from: https://www.apache.org/dyn/closer.cgi/avro
You will need two files to run this code: A project file from the Business Rules Maintenance Tool. This is the web application which you use to write the business rules and construct complex business logic the easy way. And then you need an Avro file.
The program will read the schema of the records in the Avro file and then loop over all records. The ruleengine is executed against each record. At the end of the code there is a commented block. if you want to loop over the reults of the ruleengine - they show what exactly happened when the rules where executed - then uncomment that block.
On Github at http://github.com/uwegeercken there is also the source code and the documentation available. You will find also documentation for the API with many useful functions you can use.
As always: if code have the business logic (rules) outside your code, it will make life much easier. You don't have to hardcode the logic in your program. This will make maintenance on the code easier and it will be easier to overview.
The business logic (knowledge) is in a central place and not spread over many different systems and programs.
Give it a try and please send me your feedback.
Carpe Diem