gINT rule code - Error message "Expecting an existing scalar variable"

Hi everyone,

I am trying to write a seemingly simple gINT rule code. The code is for soil corrosion potential evaluation from a pipe design manual. The system is based on a simple table with points assigned to a range of lab chemical test results. The points will be added to get a corrosively potential based on a scale. The  calculation is not complicated but I have been stuck getting the "expecting an existing scalar variable" error message on gINT. I have been following the gINT rule manual  for obtaining pointers to the field data within the data array.  

Has anyone  encountered this error before? and How did you fix it?

I would appreciate any suggestions.

Haile