class ruling