Add Rules to txt