What error are you seeing? When I download and run your notebook, I don't see any errors.
Try doing the replacements one at a time. Which one fails? What error does it give? Try using this replacement rule on a simpler mathematical expression . Does it work for a simpler equation like you would expect it to?