Fixed rule for Dot product to accept only Lists