Sharing a rule to calculate compass directions from degrees

Why not use a Scale transform? This could have been used for compass directions too.