Added null check for blank atrules.