Added pdf rules