General
Material
Lecture 1
Lecture 2
Lecture 3
Lecture 4
Lecture 5

Solution

Replace

np --> det, n.
    
by
np --> det, nbar.
    
Then add
nbar --> n.
nbar --> adj, nbar.
    

Another solution would be to add the rules

np --> det, ap, n.
ap --> adj.
ap --> adj, ap.
    

Back to the exercise.