How to Configure Inbound and Outbound Rules on CMS via API