BERLIN - Egypt needs to strengthen its rule of law and allow greater religious freedom if it wants to attract more foreign investment, its top trading partner Germany said on Monday. Egypt's improved security after years of turmoil and an Islamist militancy has helped revive German tourism, German Economy Minister Brigitte Zypries told a joint news conference with Egyptian President Abdel Fattah al-Sisi in Berlin."Security alone does not promote a vibrant and flourishing society," Zypries said."We believe that stability and growth must be connected with an open society, with open dialogue, with the rule of law and religious pluralism."Political instability and widespread violence in the years after the toppling of former president Hosni Mubarak in 2011 left Egypt's economy in tatters.