Create earth rules file