fixed bug in rules for bondtype lookup; added bonds for substrate in brush_layer.py