add set support in rule creating