Legality questioned during public hearing over new DCF rule