Investment expenses are not subject to foundations' spending rule?

this question doesn’t seem to be asked before.
what are some examples?

Commissions on trades, I should think.