Make firewall config more userfriendly

Currently there is just one line each to open ports for UDP and TCP, respectively. Each port has to be added in a comma-separated list. I would like to have something like a sorted table of ports where I can choose tcp/upd and add a comment. For example:

Port TCP UDP Comment
22 x SSH
8080 x IspConfig Interface
9987 x Teamspeak3
30033 x x Teamspeak3
54321 x Custom Python server for User xyz
...