rua_resolve works for now
They're now an enum, and the flag part of the name is all lowercase, but now the flag definitions and names list will never get out of sync.