That is the intent of the rule and it makes sense you need to provide a path to ground if there is a short. You cannot always assume the shore ground is intact. So yes connecting to the engine in the water or a ground bar on the bottom will work.