edits in main rules files
minor changes