Creating of Rules