Per https://www.law.cornell.edu/uscode/text/7/2014#e_6_A:
A household shall be entitled, with respect to expenses other than expenses paid on behalf of the household by a third party, to an excess shelter expense deduction to the extent that the monthly amount expended by a household for shelter exceeds an amount equal to 50 percent of monthly household income after all other applicable deductions have been allowed.
However we only count some:
https://github.com/PolicyEngine/openfisca-us/blob/20f27355e88b6b4df9d63866fa42d39ce25c6106/openfisca_us/variables/gov/usda/snap/income/deductions/shelter/snap_net_income_pre_shelter.py#L15-L18