The last two rules have the same change but different conditioning environment.
Rules apply to natural classes.
So the aspiration rule actually applies to all voiceless stops. The nasalization rule applies to all vowels. In the comparison between English and French we saw a case where English has to allophones of the same phoneme whose distribution is governed by a rule, while the very same two sounds represents different phonemes in French. There is no rule like the one above governing their distribution. The sounds could be in complementary distribution .