This reference documentation is quite good:
https://docs.mendix.com/refguide/rules
You can use it in a microflow and don’t really know what you mean by connect to fields.
Hope this helps!