Proposed new state rule could cost nonprofits millions