Sorry to hear of your bad luck but if it was me I would make sure the neighbor gets what they have coming people must tend to their animals. Most responsible dog owners will watch there animals.
I have two 100 pound + dogs and they both don’t like the sight of moving objects be it cars, bikes, lawnmowers, sweepers or what ever else that moves it is up to me to make sure that they don’t hurt anyone or themselves. Also as far as kicking in the ribs bad mistake, do that to my Akita and you would just make him more aggressive and then he would want to bite you even more. Best way to stop a dog from bitting you is to hit it directly in the snout. But then you risk getting your hand in their mouth and bit more. There is no simply answer to this problem until people do the right thing and watch there animals.