fix #30

added ban and fence constraints into json