The following command downloads a custom rule file called Custom Rules:

curl -o DownloadedCustomRules.conf -k "https://bal:1fourall@20.200.25.100/access/downloadwafcustomrule?filename=CustomRules"

This command downloads one file at a time. One file could contain multiple rules.