merged two rules