I have a file geodatabase with layers containing an attribute rule that will calculate a field based on an intersection with another layer. The rule works on the file geodatabase layer in ArcGIS Pro, but when I publish the layers to ArcGIS Online, it stops working, and there are no attribute rules associated with the hosted feature layer. Any idea why it won't carry over? I suspect that I need to tweak the expression to reference $map rather than $datastore (maybe?!), but $map isn't recognized prior to the upload.