QBI of H1B visa

I am on H1B visa and own 1 rental property. Can I claim Qualified business income deduction for the rental income? Since on H1B visa, I think I am not suppose to start business right?