I don't think the length of the rails has to be exactly the same as the depth of the cage or rack. (as long as it's not over) The length of the fixed part of the rails however, has to.
(I can't explain this well w/o a picture, sorry)
Call APC and see what they have to say about it.