What product/components do you use and which version/fix level are you on?
10.13
What are you trying to achieve? Please describe it in detail.
Is there a way to extend default Cockpit Smart Rules with a custom one? I am talking about the pop-up when you click on +Add smart rule
Similar to how one creates a custom widget for the dashboards

