replaced bare Java code with Xtend-based in Model Handling Rules