Model Code of Judicial Conduct: Table of Contents | The Center for Professional Responsibility
The subject is covered by Canon #1. Signing the petition put them in the public view of their opinions. This left impartiality in the rear view. #3 could also be argued.