Add php file rule.