You cannot use recordset values in access rules. It is a limitation of the Access rules manager.
If you need to use a recordset value, you need to hand code the if statement instead of creating an access rule:
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.