modified php exclusion rule