Depends where you got that glowing ball. At the pet shop of a dollar shop. It may or may not be poisonous. Most of the time the rat will be fine, because rats normally chew through plastic and the like. But considering that the rubber ball may stick to the inside of it's intestines it is your best bet to take it to the vet.