rules also added. sid will shorten them