add smartinput rule