Since the Rules Engine can support multiple end-point URLs from where to fetch rules, the URLs are prioritized based on the following scheme:
{
"rules.url" : [
"https://url/endpoint1",
"https://url/endpoint2",
..
]
}
The Adobe Experience Cloud Platform SDKs process the URLs based on the order in which they are specified. Both endpoints are URLs that point to a zipped rules collection that contains a rules.json file, an asset folder that contains images, and HTMLs that are used by the rules. For more information about rules, see Defining Rules.
After downloading and extracting rules, the contents of this compressed file are stored in the cache. To trigger an update/download of the rules, see Rules Engine Methods in Android or Rules Engine Methods in iOS.