working rule creation