Adds Rules file