Highlight and right click on your files in foobar and choose 'Properties/Automatically fill values'. Choose 'Other...' from the dropdown menu as source then input this next to it:
$replace(%genre%,', ','; ')
This simply reads the tags you already had and replaces all commas with semicolons. This is necessary so foobar interprets the string as multivalue and will rewrite the tags accordingly. To do your operations you'll slightly modify this base string to your liking.
1) Append something at the front (such as Rock):
Rock; $replace(%genre%,', ','; ')
Note that I added '; ' after Rock so foobar will once again interpret that value as multivalue.
If you wanted to insert a value at the end, then:
$replace(%genre%,', ','; '); Rock
Note that in this case you add the semicolon and space in front of Rock.
Inserting in the middle would be more involved but also doable. But I doubt you would use it all that often though.
2) Mess with a specific value:
$replace(%genre%,', ','; ','Drum & Bass','Drum & Bass; Breakcore')
Whereas you replaced all occurences of 'Drum & Bass' with 'Drum & bass; Breakcore'. Or in other words you inserted 'Breakcore' after every 'Drum and Bass'.
In all cases to finish, as 'Pattern' you can simply write:
%genre%
So the string above gets written to your GENRE tag as-is.
I'd suggest reading the wiki:
http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Title_Formatting_Reference