XX-11231: Expose Gateways via REST API

replace {gatewayId}/{ruleId}" with "{gatewayId}/rules/{ruleId}