Your problem isn't with the rules file, it sounds like it isn't even finding the adb tool. Try the command
Originally Posted by banana jama
If it can't find it you need to add the location of your android sdk to your PATH.
edit the file ~/.bashrc in your favorite editor and add the following export commands at the bottom. In the example below I have the SDK in my home directory. (This assumes you are using the bash shell)
After adding those lines run the command
It should now find adb and then you can see if the rest of your setup is OK.