Completed validation setup_rules