Add Rules For Performing Other Actions. So if you want to use hook_rules_action_info in your module your function needs to be named save_nid_rules_action_info instead of rules_save_nid_action_info. Select actions check the perform a custom actionbox.
Under Type of rule select Change budgets. Enter a name for the rule and provide information for the remaining fields. Select conditions select the conditions that you want the messages to meet for the rule to apply.
In the right-hand panel click or tap Rules and then click or tap New rule.
Click New on the Display Rule As panel to display the Create a New Rule dialog. In the main configuration window please go to the One-Click-Actions-tab. Use the if part to specify the conditions for performing the actions in the then and else parts. A RuleActions object has properties that correspond to each commonly used rule action in a rule.