How to set category on a QFX file
QFX (Web Connect) format does not have a category field.
Quicken offers categorization during QFX import and the "renaming" rules to remember your choices for a next QFX import.
Consider using QIF files if you need to use category.