ip firewall filter print flags

Where can I read details of the ip firewall filter print out?

When I print I see
Flags: X - disabled, I - invalid, D - dynamic

What is the meaning of “invalid”? Is this for invalid rules or invalid connections?

Thanks in advance.