fixed issues with custom dot rules