added workaround to p.a.m issue with contentrule (re #204)