FPR: Add validation rule purpose & command usage

Add validation to the FPR for rules and commands.

Also, some cleanup to make adding purposes easier.