skeleton for create rule