Wrong results with a subtraction (dsl rule)

Your Items appear to be Quantity types.
Either extract states using known units, or do maths with quantities (with units) throughout.

This is probably not giving you what you think.