When you program 222 to appear and ring on 257, what happens when you dial 222? Does it either flash or ring on 257? Do you need to have 257 appear and ring on 222?
I would probably lay out the keys as:
For X-222 - ##022, ##053, 303, 303, 303, *10...
For X-257 - ##053, ##022, 303, 303, 303, *10...
For X-262 - ##066, ##052, 303, 303, 303, *10...
For X-256 - ##052, ##066, 303, 303, 303, *10...
This way, dialing 222 or 257 will flash and ring on both 222 and 257 and dialing 256 or 262 will flash and ring both 256 and 262. Is this what you are trying to accomplish?