The main way to prevent rabbits from chewing up a garden is give them stuff they want to eat. I planted clover in my blueberry and strawberry patch to give the rabbits something they crave more than my garden items. As a side benefit, clover like peas and beans will fix nitrogen in the soil. This adds fertilizer to the garden naturally.
A more active approach to preventing rabbits in a garden is to get a dog that loves to catch and eat them. Enter into the fray our Mastiff, Mafia.
Here he is after he caught a rabbit. Not sure how he caught up to it, but he got it and is enjoying. That is one rabbit that won't be in our garden. Note, we made sure his wormer was up to date after this meal.