Correct issues with :only-of-type vs :only-node in implied rules