Solution
One way of solving the problem is to add the following rules
np(_) --> det, n, pp.
np(_) --> pn, pp.
np(CASE) --> pro(CASE),pp.
pp --> p, np(obj).
You also have to add lexicon entries for prepositions, such as
p --> [with].