After rejecting other ideas , he wrote the basic rules and nailed a peach basket onto a 10-foot tall pole . After rejecting other ideas as either too rough or poorly suited to walled-in gymnasiums , he wrote the basic rules and nailed a peach basket onto a 10-foot ( 3.05 m ) elevated track .