How to create a rule tile from script ?

Sorry for my bad english first !

I want to create a rule tile from script. I have search that i can use Settile() but i dont know whether it work or not with my rule tile. And i dont know how to attach single tile into Script that i can use to Settile().

Thanks for your Advice !

I am looking for the same … any smart guy knowing how this will work?