There is no text file that contains the Windows Firewall rules, no.
You can use the netsh utility with the firewall context (netsh firewall), to configure the firewall on your server from the command line. I recommend you proceed with
extreme caution, if at all; you can paint yourself into an irrecoverable corner this way.
I'm not on the WHS team, I just post a lot. :)