A bit better (because faster):

    rule { ("W/" ~ push(true) | push(false)) ~ OpaqueTag }