add block visibility rules