God knows I've tried to do this. Unfortunately, I can't find a way to refer to bushes using the "nearestobject" command. I've tried using the "typeof" command on the object ID of bushes, but it returns nothing. I haven't tried it on rocks though.
I still haven't given up hope on this though.