Sure. For all infantry units one needs to add Restricted classes for wall and gates and for siege restricted classes so that it doesn't attack infantry
http://docs.wildfiregames.com/entity-docs/a26.html#component.Attack
@Freagarach Would be nicer if we supported allowed classes rather but I don't think it's possible yet, is it?
The warhammer looks good