Typing "10mm-12mm" in a rule (position rule for example) shouldn't work. The right expression is "=10mm-12mm". This is correct when using the "+" sign, where the expression "10mm+12mm" doesn't work