adding rules txt file