rule validation and input listing