As part of drools-core, there is a RuleAgent utility for automating runtime deployment. It has been written up in the manual, in the chapter on the BRMS.