How to calculate the sum of a list of integer in Rules
I found the solution.


Add a variable (integer) "total", for example.
Loop the list of integers:


Calculate a value, input 1: [total], input 2: [line-item], return: "result".
Set a data value, data: [total], value: [result].

Outside of the loop, the [total] value is still available.