Fixed problems in projectpm's rule