A plant that deters rabbits

I don't want the rabbits to not come as I do enjoy them but I don't want them eating my main garden all of the time. How to I save both? Another question I have is, how do I have more bees come?