changed rule action for table generation