A global approach for the redefinition of higher-order flexibility and rigidity