In this article I will introduce you to programatically custom actions for Drupals' Rules module. Updating your events or actions in rules can benefit you widely later, when you start to reuse the rule in the Drupal site or even port them on other Drupal sites.