The new rules, approved by lawmakers in a secret ballot with 227 votes against 164, scraps the first-past-the-post seats and puts the whole parliament under proportional representation.