add creating rule from string