You can export Rules using Menu > File > Export > Export settings to xml file. Then choose the Rules option only.
Unfortunately you can’t export and import between different major versions. It will work between most 9.x versions, but not between 9.x and 8.x
If you are going to test a different version, make a backup before you upgrade, then later you can just restore that 8.x backup with all its settings.