Group scalar coordinate rules of pp_rules into sectional functions.

This is precursor work to "vectorising" rules for faster loading.