What happens to my existing rules when I successfully upload a rule file for a workflow?

With each successful upload, all existing rules for that workflow are overwritten. You must download the last successfully uploaded rule file and use it to make any modifications when required.