renamed rule valid/invalid callback name