Rule not working after changing to Measureit

Now Xively has stopped working I have made the move to a Raspberry Pi running Measureit.
Data is uploading OK but the rule I used to use to stop small amounts of -ve generation uploading when the system was off has failed. Now I see maybe 12 - 20W during the night.

I modified my original feed rather than starting afresh.

The Rule I used is;
if(power < 40) power = 0;

Any ideas?

Rules only work when using the Auto Uploader devices configured on PVOutput.

Directly uploads via API such as Measureit will need to apply any rules within the upload data.

Many thanks.
Wondered why I couldn’t get it to work.
I’ll stop trying now and look at something else.