No, rabies is spread by saliva. Also, it's shed in the saliva only a few days before the animal dies of the disease, and if an animal has rabies, you would see it in how it acts. Confirm this with a doctor if you are worried but a light scratch is not going to do anything to you and it doesn't sound like this dog has rabies.