For decades, if you ran an innovative business, the tax rule for research and development was simple and sweet: spend