Residency rule under scrutiny