Porting old rules from webstack