Rules:
1) Maximum of 32 combined strategic and luxury resources.
2) You have to have total resources be multiples of 32.
Example, you have 32 strat/lux, followed by 64 bonus. Total 96 resources.
Avoiding Phantom Resources in unconnected cities:
Example, if you have a strat/lux resource in position 25, a phantom resource will appear in an unconnected city assignning it from position 57 or 89 if they are not bonus resources.
If you don't have 96 resources in this example, if you only have 88 resources assigned, then the position 89 will actually be position 1 and the strat/lux resource in postion 1 will be a phantom resource to unconnected cities (giving that city a resource that it may not have and probably shouldn't have, you may not have even discovered it yet, but it will be usable).
The game checks all multiples of 32 past the strat/lux resource and continues counting at the top again. If you can't assign exact multiples of 32 resources, fill in the unused positions with filler bonus resources that aren't assigned to any terrain type.
You don't have to have all your strat/lux resources in the first 32 positions, as long as all increments/decrements of 32 are bonus resources.
Example: If you have a strat/lux resource in position 33, then you must have a bonus resource in position 1 and 65.
Thanks to CornPlanter for all his hard work on this, I am merely trying to post a summary.
---------------