My keel always sticks down. when I run it up on the trailer, the trailer pushes it up. Sorry, can't help with the pulley fix, but I'm definitly interested in it too.
You don't have any pictures from the top side of the pulley do you?
The pulley is bolted to the underside of the boat within the stub keel. So above that is the hull. Kinda hard to take a picture from above without x-ray equipment! LOL Just make a stainless bracket that holds a pulley inside it & mount it where the cable exits the hull. Not that hard really.