TOKYO - Japan's parliament on Wednesday enacted legislation to set new rules designed to prevent candidates from using inappropriate tactics, such as presenting images of scantily clad women, on election posters to promote themselves, their candidacies or even products.