Use the Security Rule Set Simulator to test security rules and regular expressions within the Management Console.
Access the Security Rule Set Simulator through the Rule Editor. Within the Security Rule Set Simulator, you select a database, enter database user information, define symbols, and enter an SQL statement that you want to use to test the rule. The simulator displays log output that you review to verify whether you created the security rule correctly. If you want to view detailed log information, you can run the simulator in debug mode.