Programmatically execute an action set (Rules module) I want to use Rules UI to define some action sets, but want to execute those actions programmatically from a custom module.

How to I execute the action by code and pass the needed arguments (just a node in this case).

Thanks!
If you have set it up as a rules component, you can use rules_invoke_component, alternative you can invoke an event, which could trigger mutiple rules by using rules_invoke_event.

Both is similar in that you pass first a name/id and the rest of the args is passed along, so something like

 rules_invoke_component('name', $node);


if your custom component rule has several parameters pass them one by one and separate them with comma as example 

rules_invoke_component('rules_save_search_send_activation_sms',  'paramval1', 'paramval2', ....);


is properly how you need to do it. This again depends on how the rule/component is defined and configured.