Be sure to give proper consideration to ventilation. Leave room for future equipment additions. I would look for examples on this and other forums. Do a google image search for 'in wall av rack' and follow the pictures that look like what you want.
Are you putting this in a wall that you can access from the other side? I would give anything to have easy access to the back of my equipment.