So, I was out flying with a friend on a beautiful clear night, and we were able to take some amazing pictures of the city. On our way back to our airport, we were inadvertently vectored into an isolated patch of light snow. Visibility was about 5SM - visibility wasn't amazing, but I still had visual reference to the ground and somewhat of the horizon, and the condition of the snow was light and not sticky. However, the OAT was about 1 degree Celsius at 2,000' so icing was a concern. We were in controlled airspace so I couldn't just make any abrupt maneuvers. I called ATC and asked for direct back to our airport, turned on my pitot heat to just be safe, and took our detour. Once ATC terminated our surveillance and vectoring, I called into Unicom at my uncontrolled airport and asked for conditions - the airspace over the airport was fine, so our initial thought to perhaps divert to a nearby airport was not necessary. Relying on my instrument training during my PPL training and night rating, I used a combination of VFR and instrument (G1000 glass cockpit) to ensure everything went smoothly until we were clear of the snow. It was quite unsettling, as we didn't see the weather until we were already in it - the clear dangers of night flying.
In any event, everything turned out fine, but I am curious.. did I go against any CARS regulations when I flew into this weather? Keeping in mind, I am not IFR rated.