Question: do ammonia keep rats away?
Answer: Ammonia is a powerful and practical repellant for rats as they can't stand the pungent smell of ammonia and therefore leave the place. For this make a mixture of ammonia in water.