The rules are never firing because the conditions are incorrect.
Notice this screenshot: the rule is setting the value of the attribute to the same value of the condition. So, the rule will never meet its own condition.
The condition needs to be opposite of the rule.