filtering list of available commands when creating an fp rule.