KABUL (Reuters) - China has signed security and economic agreements with Afghanistan during a rare trip to Kabul by a top Chinese official, in deals seen aimed at bolstering Beijing's influence ahead of a NATO withdrawal of most combat forces by 2014.