adds upload rules to rules.xml