Program rule, assign value by summing boolean data elements

Hello, am trying to do the same thing with a boolean field such that when i click Yes, it assigns value to another data element, but the assignment never happens. My program rule expression is :