rename sameLineRule to oneLineRule