Added improvement to rule actions