If "GENDER" is a single-select with choices with ids t0000000001 (Women) and t0000000002 (Men), then the form-based evaluater expects the formula:
In which the enum choice id is written as a symbol. This is a little strange because the expression t0000000001 is constant, and so seems that it should be written as a literal, like "t00000000001".
This expression should be written as
This will affect several components:
1. The relevancy UI editor needs to produce expressions in this mold
2. The EqualsFunction needs to handle comparisons between values of type enum and string
3. The ODK module needs to correctly convert these expressions to XPATH