Attendance at a political rally or public event as a private citizen is generally not prohibited, but care must be taken that the attendance is not conspicuous, does not involve active participation or canvassing, and does not associate the government servant publicly with the party.
Source: CCS-CONDUCT Rule 8