Adapt include rules