Corrected $rules