add splice rule for use in macros