Fiscal Rules and Sustainability of Public Finances in an Endogenous Growth Model