Separate modes for all code types
Simpler rule for Any