You can use the visual editor or script editor to configure conditions for a rule. If you use the visual editor to configure conditions and the conditions are debugged, you can switch to the script editor to view the corresponding compliance code. Then, you can import or share the code in a flexible manner.