add two rules