Hi, the problem is eclipse give some errors like: [ERR 102] Line 156:8 mismatched input 'ACCUMULATE' expecting 'then' in rule "Max, min and average" Regle1.drl $price cannot be resolved to a variable ...etc Even the results are correctly shown