applay splice to insert rules