The joys of country life ! Not sure which makes of rodent you might have on the attack, but after a series of attempts to discourage mice in the UK, I'm afraid that the only thing that worked for me was wholesale slaughter. I was advised to leave peppermints in the car (mice are supposed to dislike the smell), they ate them. Various essential oils etc. were also tried without success as were a selection of "humane" traps. Loud heavy metal (or Yoko Ono) made no difference. A spring trap (Little Nipper in the UK) with a bit of chocolate bar (Mars) as bait was resorted to, and leaving a corpse under the bonnet (hood) for a few days seemed to deter further attacks. Rats are a whole different ball game..........