Network Structuring and Training Using Rule-based Knowledge