add two rules example