iRule for GTM Unable to find value_list when applied

I have the following iRule but when I try to apply it to a wide IP I get an error (bottom)

when DNS_REQUEST { if {[class match [IP::remote_addr] equals 10.64.144.32/32]} { pool WEBPROXY_SENTRY_POOL_2 } elseif {[class match [IP::remote_addr] equals 10.64.146.32/32]} { pool WEBPROXY_SENTRY_POOL_3 } else { pool WEBPROXY_SENTRY_POOL_1 } }

01070151:3: Rule [/Common/Proxy] error: Unable to find value_list (10.64.144.32/32) referenced at line 2: [class match [IP::remote_addr] equals 10.64.144.32/32]

don’t use Class Match … if {[IP::addr [IP::remote_addr] equals 10.10.10.10]}