Added rule for insert after functions