Theory of Chain Packing in Amphiphilic Aggregates