I'm not familiar with the tutorial you refer to, if you provide details on what you want the rule to do, i can provide details on how to create it.
as for the testing server, phpMyAdmin is used for managing the contents of the database. it has nothing to do with the code.
you will either need to install a local testing server, or set up the DW Site to use the remote server as the testing server as well.