Iterate through the actions and add an action at the end.
if (current_rule->actions == NULL) {
        current_rule->actions = new_act;
    } else {
        curr = current_rule;
        while (curr->actions->next_act != NULL) {
            curr->actions = curr->actions->next_act;
        }
        curr->actions->next_act = new_act;
        
    }
}