modify when rules is null question