Self-rental sublease

Can you sublease 50% of your self-rental, do a cost segregation and still take advantage of the grouping election to offset your active income?Will the passive loss limitations apply if the rental income from the sublease is insignificant compared to the trade business income?