SYDNEY (AFP) - Australia urged Pakistan's rival political parties Tuesday to work together to combat the "common enemy" of extremism. "It's quite clear that whatever political differences the political parties may have in Pakistan the common enemy is terrorism ... it is a threat to Pakistan's very existence," Foreign Minister Stephen Smith told parliament. "It's absolutely in Australia's national interest to continue to do our bit... with our international colleagues (to) stare down the terrorist threat that we currently find in the Afghanistan-Pakistan border area." The comments came as PM Kevin Rudd announced the death of an Australian soldier in Afghanistan during a firefight with Taliban insurgents. Smith also welcomed Pakistan's decision to reinstate the deposed top judge and end to the crackdown on activists, saying it had averted a political emergency. "I welcome very much the news that the govt of Pakistan has decided to reinstate former CJ Ch and other members of the judiciary," Smith said. "This has very considerably defused a political crisis in Pakistan and we welcome very much the defusing of that crisis."