Resolve rules correctly.