Because it is encrypted you can not do this on the MX.
I think ecp is used for setting "Out of office" messages. So if you block that then that particular functionality of Outlook will stop working for remote users. To the best of my knwoledge, rpc is unused.
The best way to block access to these would be on the Exchange server. Configure IIS to place an IP address restriction on the virtual directories to where ever you want to allow access from.
Note that on Office 365 these ecp is remotely accessible ...