Add php rule