Special rules for certain foundations and trusts