The scale of public investment required sits uneasily with the current fiscal rules but there is an escape route