Lua is case sensitive.
All of our scripts turn the text/groups you type into lower case when you run the commands.
Pat does not equal pat. Your groups file has capitalized groups.
May I suggest starting fresh, using ulx addgroup to add all your groups, and then perhaps editing the file manually after that.
Much less chance of syntax errors that way.
Also, it would be rcon ulx adduser, you specify rcon adduser twice (no ulx)
I presume that's a mistake typing here and not actually on the server.
Unfortunately, details like that can get you though.
I strongly suggest not using groups with spaces in them either; unless your absolutely sure you can remember to always use quotes when adding someone ; ulx adduser <player> "ninja nub" 1