Hi,

Since the below block of code is kind of a method, which we can call in multiple places within the rule, what would be the syntax for a method without imput parameters?

```
var doTheMath = [ Integer i |
var integer = null
integer = i+i
return integer;
]
when
Test_Button changed
then
logInfo("test.rules","the math result is: " + doTheMath.apply(2))
//the above log print will be: "the math result is: 4"
end
```

I can’t get it right.