Added general rule (B/S) generation