greece
Greek Prime Minister Alexis Tsipras leaves his office at the Maximos Mansion in Athens, Greece July 15, 2015. Reuters/Yiannis Kourtoglou

ATHENS (Reuters) - The Greek government submitted legislation to parliament on Tuesday required by its international lenders to start talks on a multi-billion euro rescue package.

Prime Minister Alexis Tsipras has until Wednesday night to get those measures adopted in the assembly. A first set of reforms triggered a rebellion in his party last week and passed only thanks to votes from pro-EU opposition parties.

The second bill, though less divisive, will still be a test his weakened majority.

It puts into Greek law new European Union rules on propping up failed banks, decreed after the 2008 financial crisis and aimed at shielding taxpayers from the risk of having to bail out troubled lenders.

The so-called bank recovery and resolution directive (BRRD) imposes losses on shareholders and creditors of ailing lenders, in a process known as "bail-in", before any taxpayers' money can be tapped in a bank rescue.

The European Commission in late May gave Italy, France and nine other EU countries two months to adopt the rules, which were meant to be applied by the end of 2014, or face legal action.

The bailout bill also includes the adoption of new rules for the country's civil justice system, aimed at accelerating lengthy judicial processes and cutting costs.

Together with his coalition partners from the right-wing Independent Greeks party, Tsipras has 162 seats in the 300-seat parliament. But last week's rebellion cut his support to just 123 votes, meaning he is likely to need opposition votes again.

Greece on Monday reopened its banks and repaid billions of euros owed to the International and the European Central Bank in the first signs of a return to normality after it struck a cash-for-reforms deal with other euro zone countries last week.