hi,
I have a class Customer.java with class variable "allTradeAmounts" and
I have two rules as follows:
rule "rule 1"
when
$c : Customer();
then
$c.setAllTradeAmounts($c.getAllTradeAmounts().add(1000));
System.out.println("after modify: "+$c.getAllTradeAmounts());