-
Reusable Functions: A simple lambda example with copious notes
-
https://www.eclipse.org/xtend/documentation/203_xtend_expressions.html#lambdas
The | is a separator between the arguments passed to the lambda and they body of the lambda.
Keep in mind that the Rules DSL is not Java but a domain specific language bearing many similarities with Xtend. For all syntax questions like this, the Rules page is a good place to start. Don’t neglect the links to the Xtend docs on that page though. The syntax deviates from “normal” standards in a number of ways.