Add better error messages for item total rule.